<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%
	response.setHeader("Cache-Control", "no-cache");
	response.setHeader("Pragma", "no-cache");
	response.addHeader("Cache-Control", "must-revalidate");
	response.addHeader("Cache-Control", "no-cache");
	response.addHeader("Cache-Control", "no-store");
	response.setDateHeader("Expires", 0);
%>
<link href="<%=basePath%>/style/style.css" rel="stylesheet"
	type="text/css">
<link href="<%=basePath%>/style/form.css" rel="stylesheet"
	type="text/css">
<style>
<!--
body {
	background-color: #FAFAFF;
}
.videoList {
	width: 100%;
}

.videoList li {
	width: 200px;
	height: 163px;
	float: left;
}
-->
</style>
<body>
	<div class="portalBg">
		<table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
			<tr>
				<td>
					<ul class="videoList">
						<s:iterator id="f" value="%{list}" >
							<li>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="130" rowspan="5"
											title="<s:property value="#f.spjzzt"/>">
											<a href="spjzpjbList2.do?spjzb.id=<s:property value="#f.id"/>">
											<s:if test="#f.pic==null">
												<img src="images/movie/pic11.jpg" class="img2" width="130"
													height="101" error="this.src='images/movie/pic11.jpg'"
												onerror="images/movie/pic11.jpg'"/>
											</s:if>
											<s:else>
												<img src="upload/movies/images/<s:property value="#f.pic"/>"
													class="img2" width="130" height="101" error="this.src='images/movie/pic11.jpg'"
												onerror="this.src='images/movie/pic11.jpg'"/>
											</s:else></a>
										</td>
										<td width="250">
											<span title="<s:property value="#f.spjzzt"/>"> <s:if
													test="#f.spjzzt.length()>5">
													<s:property value="#f.spjzzt.substring(0,5)" />...
                       </s:if> <s:else>
													<s:property value="#f.spjzzt" />
												</s:else> </span>
										</td>
									</tr>
									<tr>
										<td>
											点击：
											<s:property value="#f.hits" />
											次
										</td>
									</tr>
									<tr>
										<td>
											时长：
											<s:if test="#f.bfsc>=60">
											 <s:property value="@java.lang.Integer@parseInt(#f.bfsc)/60" />分<s:property value="@java.lang.Integer@parseInt(#f.bfsc)%60" />秒
											</s:if>
											<s:else>
												<s:property value="#f.bfsc" />秒
											</s:else>
										</td>
									</tr>
									<tr>
										<td>
											上传日期：
											<s:property value="#f.scsj" />
										</td>
									</tr>
									<tr>
										<td>
											<input type="button" class="btn01" value="详情"
												onclick="javascript:window.location.href='spjzpjbList2.do?spjzb.id=<s:property value="#f.id"/>'" />
										</td>
									</tr>
								</table>
							</li>
						</s:iterator>
					</ul>
					<table width="100%">
						<tr>
							<td align="right">
								<a href="listAllSpjzb.do" ><img src="images/panelicon/more2.gif" alt="更多..."/></a>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</div>
</body>
